package cn.com.api.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_user_friend_group_detail;
import cn.com.api.service.base.U_user_friend_group_detailServiceBase;
import cn.com.util.PageInfo;

/**
 * 
 */
@Service
public interface ApiU_user_friend_group_detailService extends U_user_friend_group_detailServiceBase {

	// 新增对象后返回记录ID
	public int U_user_friend_group_detailInsertion(ApiU_user_friend_group_detail u_user_friend_group_detail);

	// 获取分组成员信息
	public List<ApiU_user_friend_group_detail> getfriend_group_details(Map map, PageInfo page);

	// 检查用户是否已在指定组中
	public boolean checkUserExistGroup(String user_ids, String group_id);

	// 从一个分组移到另一个分组
	public void addMember2Group(String old_group_id, String new_group_id, String friend_ids, String type);

	// //根据分组ID和好友ID，取detail记录
	// public ApiU_user_friend_group_detail getFriendGroupDetail(String
	// group_id, String friend_id);
}
